package cn.tedu.smartos.health.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class HealthAlertParam {
    @ApiModelProperty(value = "老人用户ID", required = true)
    @NotNull(message = "老人用户ID不能为空")
    private Long elderlyUserId;

    @ApiModelProperty(value = "关联的健康记录ID")
    private Long recordId;

    @ApiModelProperty(value = "预警类型：1-心率异常，2-血压异常，3-血糖异常等", required = true)
    @NotNull(message = "预警类型不能为空")
    private Integer alertType;

    @ApiModelProperty(value = "预警级别：1-低，2-中，3-高", required = true)
    @NotNull(message = "预警级别不能为空")
    private Integer alertLevel;

    @ApiModelProperty(value = "预警内容", required = true)
    @NotNull(message = "预警内容不能为空")
    private String alertContent;

    @ApiModelProperty(value = "通知家属ID")
    private Long notifyFamilyId;
}